package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Zijia {
    public static void main(String[] args) {
        //自加 前缀和后缀的区别
        int a=14,b=14;
        int k=a++;
        int h=++b;
        System.out.println(a);
        System.out.println(b);
        System.out.println("k="+k);
        System.out.println("h="+h);
        int x=20;
        System.out.println(x++);
        int c=10;
        int y=(c++)+(++c);
        System.out.println("y="+y);
        System.out.println("c="+c);
    }
}
